import Annotation.InitMethod;

public class Student {

    public Student(){
        //System.out.println("Init a student");
    }

    private Student(int age){
        System.out.println("Student age:" +age);
    }

    @InitMethod
    public String study(){
        System.out.println("studying...");
        return "study";
    }

    public void eat(){
        System.out.println("Student eat");
    }

    public void showName(String name){
        System.out.println("Student: "+name);
    }
}
